<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>

<head>
<title>网格管理</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<jsp:include page="/WEB-INF/views/config/include.jsp" />

<style>
.title {
	width: 100%;
	display: inline-block;
	height: 120px;
	text-align: center;
	line-height: 120px;
}
.btn {
	height: 60px;
    margin-top: 15px;
}
</style>
</head>
<body class="body">
	<div class="container">
		<!-- 选择户主类型 -->
		<div>
		<form class="form" action="/gather/user/add" method="POST" id="home_h5">
			<pf:token data="${token}"/> 
			<input type="hidden" id="id" name="id" value="${user.id}">
			<div class="title">
				<h3 style="margin-top: 50px;">${user.gatherAreaName}</h3>
			</div>

		<input type="button" class="btn btn-primary form-control" onclick="btnonclick(1)" value="健康申报"><br>
 		<input type="button" class="btn btn-primary form-control" onclick="btnonclick(2)" value="外出申报"><br>
		<input type="button" class="btn btn-primary form-control" onclick="btnonclick(3)" value="返程申报(开发中)"><br>
		</form>
		</div>
		<div>
			<span>提示信息：</span><br>
			<input class="form-control" type="text" name="message" value="${message}" readonly>
		</div>
		<div>
			<span>我的健康证：</span><br>
			<input class="form-control" type="text" name="message" value="${message}" readonly>
		</div>
	</div>
	
<script>
function btnonclick(type){
	if(type==1){
		home_h5.action="/gather/user/jkdj";
	}else if(type==2){
		home_h5.action="/gather/user/wcdj";
	}else if(type==3){
		home_h5.action="/gather/user/fcdj";
	}
	home_h5.submit();
}
</script>
</body>
</html>